<template>
	<view class="all">
		<bank-item bankCode="CCB" bankName="建设银行" cardCode="5106365987639" />
		<bank-item bankCode="CEB" bankName="交通银行" cardCode="5106365986893" />
		<bank-item bankCode="SPABANK" bankName="平安银行" cardCode="5106365982687" />
		<bank-item bankCode="CMB" bankName="招商银行" cardCode="5106365983698" />
		<view class="carp" @click="push">
			<image src="@/static/img/tj.png" mode=""></image>
			<text>添加银行卡</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{},
				list: [

				],
			};
		},
		onLoad(){
			this.getinfo()
		},
		methods: {
			getinfo(){
				this.$api('usermsg/withdrawal').then(res=>{
					this.info=res.data
				})
			},
			push() {
				uni.navigateTo({
					url: './pushyh'
				})
			}
		}
	}
</script>

<style lang="scss">
	.all {
		padding: 30rpx;
		min-height: 1300rpx;
		background-color: #EFEFEF;

		.carp {
			background-color: #FFFFFF;
			padding: 35rpx 30rpx 35rpx 30rpx;
			border-radius: 8rpx;
			display: flex;
			align-items: center;
			margin-top: 30rpx;

			text {
				display: inline-block;
				font-size: 30rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
				margin-left: 10rpx;
				opacity: 1;
			}

			image {
				width: 48rpx;
				height: 48rpx;
			}
		}
	}
</style>
